package com.hong.demo.other.easyrules;

import org.jeasy.rules.annotation.Rule;
import org.jeasy.rules.support.UnitRuleGroup;

@Rule(name = "被3和8同时整除", description = "这是一个组合规则")
public class RuleUnitGroup extends UnitRuleGroup {

    public RuleUnitGroup(Object... rules) {
        for (Object rule : rules) {
            addRule(rule);
        }
    }

    @Override
    public int getPriority() {
        return 0;
    }
}